package com.huawei.appmarket.service.store.awk.card;

import android.content.Context;
import com.huawei.appgallery.foundation.ui.framework.cardkit.bean.CardBean;
import com.huawei.appmarket.service.store.awk.bean.HorizontalCourseCardBean;
import com.huawei.appmarket.service.store.awk.bean.HorizontalCourseItemCardBean;
import java.util.List;

public class HorizontalCourseCard extends NormalHorizonCard {
    public HorizontalCourseCard(Context context) {
        super(context);
    }

    public void ˏ(CardBean cardBean) {
        super.ˏ(cardBean);
        if (cardBean instanceof HorizontalCourseCardBean) {
            HorizontalCourseCardBean horizontalCourseCardBean = (HorizontalCourseCardBean) cardBean;
            List ʼᐝ = horizontalCourseCardBean.ʼᐝ();
            for (int i = 0; i < ʼᐝ.size(); i++) {
                ((HorizontalCourseItemCardBean) ʼᐝ.get(i)).ˋˋ(horizontalCourseCardBean.ॱˉ());
            }
        }
    }
}
